package com.baizhi.feign;

import com.baizhi.po.VideoES;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("VIDEOS")
public interface VideoFeign {
    @GetMapping("videos/queryAllVideos")
    List<VideoES> queryAllVideos();
}
